Optimal. Leaf size=154 \[ \frac {2 e \sqrt {a+b \sin (c+d x)} (e \cos (c+d x))^{p-1} \left (1-\frac {a+b \sin (c+d x)}{a-b}\right )^{\frac {1-p}{2}} \left (1-\frac {a+b \sin (c+d x)}{a+b}\right )^{\frac {1-p}{2}} F_1\left (\frac {1}{2};\frac {1-p}{2},\frac {1-p}{2};\frac {3}{2};\frac {a+b \sin (c+d x)}{a-b},\frac {a+b \sin (c+d x)}{a+b}\right )}{b d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.12, antiderivative size = 154, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.080, Rules used = {2704, 138} \[ \frac {2 e \sqrt {a+b \sin (c+d x)} (e \cos (c+d x))^{p-1} \left (1-\frac {a+b \sin (c+d x)}{a-b}\right )^{\frac {1-p}{2}} \left (1-\frac {a+b \sin (c+d x)}{a+b}\right )^{\frac {1-p}{2}} F_1\left (\frac {1}{2};\frac {1-p}{2},\frac {1-p}{2};\frac {3}{2};\frac {a+b \sin (c+d x)}{a-b},\frac {a+b \sin (c+d x)}{a+b}\right )}{b d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 138
Rule 2704
Rubi steps
\begin {align*} \int \frac {(e \cos (c+d x))^p}{\sqrt {a+b \sin (c+d x)}} \, dx &=\frac {\left (e (e \cos (c+d x))^{-1+p} \left (1-\frac {a+b \sin (c+d x)}{a-b}\right )^{\frac {1-p}{2}} \left (1-\frac {a+b \sin (c+d x)}{a+b}\right )^{\frac {1-p}{2}}\right ) \operatorname {Subst}\left (\int \frac {\left (-\frac {b}{a-b}-\frac {b x}{a-b}\right )^{\frac {1}{2} (-1+p)} \left (\frac {b}{a+b}-\frac {b x}{a+b}\right )^{\frac {1}{2} (-1+p)}}{\sqrt {a+b x}} \, dx,x,\sin (c+d x)\right )}{d}\\ &=\frac {2 e F_1\left (\frac {1}{2};\frac {1-p}{2},\frac {1-p}{2};\frac {3}{2};\frac {a+b \sin (c+d x)}{a-b},\frac {a+b \sin (c+d x)}{a+b}\right ) (e \cos (c+d x))^{-1+p} \sqrt {a+b \sin (c+d x)} \left (1-\frac {a+b \sin (c+d x)}{a-b}\right )^{\frac {1-p}{2}} \left (1-\frac {a+b \sin (c+d x)}{a+b}\right )^{\frac {1-p}{2}}}{b d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 1.08, size = 185, normalized size = 1.20 \[ \frac {2 e \sqrt {a+b \sin (c+d x)} (e \cos (c+d x))^{p-1} \left (\frac {\sqrt {b^2}-b \sin (c+d x)}{a+\sqrt {b^2}}\right )^{\frac {1-p}{2}} \left (\frac {\sqrt {b^2}+b \sin (c+d x)}{\sqrt {b^2}-a}\right )^{\frac {1-p}{2}} F_1\left (\frac {1}{2};\frac {1-p}{2},\frac {1-p}{2};\frac {3}{2};\frac {a+b \sin (c+d x)}{a-\sqrt {b^2}},\frac {a+b \sin (c+d x)}{a+\sqrt {b^2}}\right )}{b d} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.63, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {\left (e \cos \left (d x + c\right )\right )^{p}}{\sqrt {b \sin \left (d x + c\right ) + a}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (e \cos \left (d x + c\right )\right )^{p}}{\sqrt {b \sin \left (d x + c\right ) + a}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.17, size = 0, normalized size = 0.00 \[ \int \frac {\left (e \cos \left (d x +c \right )\right )^{p}}{\sqrt {a +b \sin \left (d x +c \right )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (e \cos \left (d x + c\right )\right )^{p}}{\sqrt {b \sin \left (d x + c\right ) + a}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\left (e\,\cos \left (c+d\,x\right )\right )}^p}{\sqrt {a+b\,\sin \left (c+d\,x\right )}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (e \cos {\left (c + d x \right )}\right )^{p}}{\sqrt {a + b \sin {\left (c + d x \right )}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________